package com.github.beihaifeiwu.myspring.curator.node;

import java.lang.annotation.Documented;
import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;

/**
 * Created by liupin on 2017/6/13.
 */
@Target(ElementType.METHOD)
@Retention(RetentionPolicy.RUNTIME)
@Documented
public @interface ZNodeListener {

    String[] value();

    ZNodeListenerType type() default ZNodeListenerType.NODE;
}
